package Demo01;

public class Test {
    public static void main(String[] args) {
        String a = "asdf";
        System.out.println(a);

        String b = new String();
        System.out.println(b);

        String c = new String("ghjk");
        System.out.println(c);

        char[] arr = {'a','b','c'};
        String e = new String(arr);
        System.out.println(e);

        String f = new String(arr,0,2);
        System.out.println(f);
    }
}
